#include <stddef.h>

int buffer_init(size_t size);
int buffer_verify();
int buffer_verify_half();
int buffer_destroy();

extern void *srcbuf_h;
extern void *srcbuf_d;
extern void *dstbuf_h;
extern void *dstbuf_d;
extern void *relaybuf_h;